From 98006242df8337523e2c5b7df02815b1407f03a0 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 12 Jun 1993 07:19:39 +0000 Subject: [PATCH] (Fcopy_keymap): Check Fkeymapp value with NILP. --- src/keymap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/keymap.c b/src/keymap.c index 6d0f9e5c058..24f3daa6549 100644 --- a/src/keymap.c +++ b/src/keymap.c @@ -464,7 +464,7 @@ is not copied.") for (i = 0; i < XVECTOR (elt)->size; i++) if (XTYPE (XVECTOR (elt)->contents[i]) != Lisp_Symbol - && Fkeymapp (XVECTOR (elt)->contents[i])) + && ! NILP (Fkeymapp (XVECTOR (elt)->contents[i]))) XVECTOR (elt)->contents[i] = Fcopy_keymap (XVECTOR (elt)->contents[i]); } -- 2.30.2